package cn.edu.bjut.homework.chapter4;


public class ChapterFour {
    public static void main(String[] args) {
        test_ipc();
        test_cpc();
    }

    public static void test_ipc() {
        Classification ipc = new Ipc('A', 1, 'Z', 9999, 99999);
        System.out.println(ipc.toString());

//        Ipc ipc3 = new Ipc("H01M 10/587");
        Ipc ipc3 = new Ipc("A23B  5/045");
        Ipc ipc2 = new Ipc("G06F 17/30");
        System.out.println(ipc2.toString());
        System.out.println(ipc3.toString());
    }

    public static void test_cpc() {
        Classification cpc = new Cpc('Z', 88, 'P', 123, 4567, 'Q', 'D');
        System.out.println(cpc.toString());
    }
}
